I mm facing an issue on my ASP.NET page where I'm using RegisterStartupScript
to call a JavaScript function from the code-behind.
The JavaScript function is intended to close a Telerik RadWindow using
var oWnd = GetRadWindow();
oWnd.close();
.
However, upon execution,
I receive the following error:
'Error code: STATUS_ACCESS_VIOLATION'. Could you please assist me in resolving this issue?
The pop up that I am trying to display when clicking on an <a> tag seems to not be able to take in the URL that I have passed into it via a post-back. All this does is to throw me an error stating. These snippet of code seems to be working on a previous iteration of an application but seems to be continuing to throw this error in this new iteration of the application that I am currently developing.
Uncaught TypeError: Cannot read properties of undefined (reading 'open')
at window.radopen
at OpenForm
at HTMLAnchorElement.onclick
window.radopen
OpenForm
onclick
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Animation="Resize"
OnClientBeforeShow="clientBeforeShow" AutoSize="true" Title="Product Details"
ViewStateMode="Disabled" EnableViewState="false" Behaviors="Close, Move" VisibleOnPageLoad="false"
VisibleStatusbar="false" DestroyOnClose="true" MinWidth="650px" MinHeight="500px">
<Windows>
<telerik:RadWindow ID="ConfirmDialogue" runat="server" Title="Product Details"
AutoSize="true" DestroyOnClose="true" EnableViewState="false" ReloadOnShow="true"
Style="display: none;" ShowContentDuringLoad="false" Modal="true" VisibleStatusbar="false">
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
My javascript:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
RadWindow is showing a tooltip with its ID in it. See attached image. How can I disable this?
Hi,
I would like to change the height and width of the button in the alert windows.
See the attached image, the button is too small.
Regards,
Omar
Hello. I have a modal popup RadWindow being used as an edit form. This RadWindow is launched from a row in a RadGrid. Everything works great, except when the user finishes with the RadWindow and it closes, the calling RadGrid successfully does a rebind, but it doesn't visually update on the screen. The auto-refreshing the RadGrid works great for other uses such as deleting a record, or updating a record, but not when the rebind code runs upon returning from the modal RadWindow. When the radwindow closes, it triggers the RadAjaxManager1_AjaxRequest which does the rebind operation. That runs just fine. The only thing not happening is the rendering of the screen so the user sees the updated data in the radgrid.
Anyone have any ideas why this would be happening or way to force the re-rendering of the screen/radgrid?
This is the script on the source page:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function refreshGrid(arg) {
if (!arg) {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("Rebind");
}
else {
$find("<%= RadAjaxManager1.ClientID %>").ajaxRequest("RebindAndNavigate");
}
}
</script>
</telerik:RadCodeBlock>
This gets calls when the popup closes:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest If e.Argument = "Rebind" Then rgVehicleConfig.DataSource = Nothing rgVehicleConfig.Rebind() End If End Sub
This is the script on the popup aspx page:
<script type="text/javascript">
function CloseAndRebind(args)
{
GetRadWindow().BrowserWindow.refreshGrid(args);
GetRadWindow().close();
document.getElementById("frmSequencingAreas").submit();
}
function Close(args)
{
GetRadWindow().close();
}
function GetRadWindow()
{
var oWindow = null;
if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
return oWindow;
}
</script>
Finally, this is the code for the final import of the data that closes the RadWindow and returns to the calling page:
Private Sub rgVehicleConfiguration_ItemCommand(sender As Object, e As GridCommandEventArgs) Handles rgVehicleConfiguration.ItemCommand
If e.CommandName = "Export" Then
If ErrorsFound Then
lblMessage.Text = "Highlighted values are invalid. Please correct and try importing file again.</br>Data cannot be imported until all errors are corrected."
Else
ExportData()
ClientScript.RegisterStartupScript(Page.GetType(), "mykey", "CloseAndRebind();", True)
ShowPopup = False
End If
End If
End Sub
Most of this code was lifted from Telerik's own demo and that seems to work just fine here on the Telerik demo site.
Any help would be wonderful.
Thank you.
Hi,
i open a radwindow fro ma button inside a templatecolumn in a detailtable.
In the radwindow i have a radbutton when i click it the OnClick event doesn't fire.
Here the code.
<%@ Page Title="" Language="C#" MasterPageFile="~/SiteT.Master" AutoEventWireup="true" CodeBehind="AnalisiExc.aspx.cs" Inherits="IPadAdmin.AnalisiExc" %>
A project in production works partially, on clients internets (phone, pc etc...) and works on our intranet.
A resource.axd generate an "ERR_CONNECTION_RESET"
difference with other ressource is long url auto generated :
<script src="/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RSM_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3afr-FR%3a10395c91-0c67-4b5f-be67-7f60b4835745%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2022.2.622.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3afr-FR%3adbbf043d-66df-4172-9982-e8bb59918fa4%3a16e4e7cd%3af7645509%3a88144a7a%3aed16cbdc%3a4877f69a%3a24ee1bba%3af46195d3%3a33715776%3ab2e06756%3a92fe8ea0%3afa31b949%3ac128760b%3a19620875%3a874f8ea2%3a490a9d4e%3ab7778d6c%3ae085fe68%3acda80b3%3a383e4ce8%3aa064d040%3a59462f1%3a7c926187%3aa51ee93e%3ac08e9f8a%3a58366029%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3afr-FR%3a10395c91-0c67-4b5f-be67-7f60b4835745%3a76254418" type="text/javascript"></script>
i can send you (in private domain base of url, before /Telerik..) to test.
how to reduce this url ? i think is size.
example of resource work in site :
/ScriptResource.axd?d=Acr7YYngYOcLwDrz111yAmfTtNXdiT2AVa5sxCuSkDiFfzEWUyUZNnYbx9cuBqADt0N7LO5fkpvKchmSSPLRCFpBkbQWzKznqT47xPMkxIKzMFwRcsSZO1XF28E6FKpA6I6deov79BgFLTYERhXvYwXJY1EGFuA2PN_d3WFfV_k1&t=14d69f50
Thanks for your help.
Hi, I'm having trouble with a control called RadWindow. I show that control inside a normal asp form. The radwindow has a ContentTemplate inside it, and inside that content template I have all the controls of the form. What happens is that when the window is maximized then when you click on a datepicker or a comobox (both from telerik) the drop-down list of the combobox is not displayed nor the calendar of the radCalendar, which could be?
CODE:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="frmPruebaApariencia.aspx.vb" Inherits="frmPruebaApariencia" %>Dear Telerik Team,
We have purchased Telerik UI for ASP.NET AJAX UI 2010.1519. Now we are facing vulnerable issues as it is using jQuery 1.4.2.
One of the Telerik doc tells that
When Telerik upgraded jQuery version to 3.3.1, it faces incompatibilities with the MS AJAX framework and its __doPostBack() method. Due to which, Telerik downgraded jQuery version Telerik UI for ASP.NET AJAX R1 2019 - present are using a modified jQuery version 1.12.4 that includes security vulnerability backport fixes.
Is there a fix to overcome this issue other than upgrading the Telerik version to 2019 or greater?